from rest_framework import serializers
from .models import College, Major, Classroom, Teacher, Class, Student, Course, Grade
#
#
class CollegeSerializer(serializers.ModelSerializer):
    class Meta:
        model = College
        fields = '__all__'


# class MajorSerializer(serializers.ModelSerializer):
#     class Meta:
#         model = Major
#         fields = '__all__'
#
#
# class ClassroomSerializer(serializers.ModelSerializer):
#     class Meta:
#         model = Classroom
#         fields = '__all__'
#
#
# class TeacherSerializer(serializers.ModelSerializer):
#     class Meta:
#         model = Teacher
#         fields = '__all__'
#
#
# class ClassSerializer(serializers.ModelSerializer):
#     class Meta:
#         model = Class
#         fields = '__all__'
#
#
# class StudentSerializer(serializers.ModelSerializer):
#     class Meta:
#         model = Student
#         fields = '__all__'
#
#
# class CourseSerializer(serializers.ModelSerializer):
#     class Meta:
#         model = Course
#         fields = '__all__'
#
#
# class GradeSerializer(serializers.ModelSerializer):
#     class Meta:
#         model = Grade
#         fields = '__all__'
